<?php
/**
 * 维修记录配置
 */
return [
	/*@维修管理参数*/

	/*维修单状态修改*/
	'zero_msg'			=> '维修单保存',
	'one_msg'			=> '维修单等待配件',
	'two_msg'			=> '维修单等待客户送机',
	'three_msg'			=> '维修单确认维修',
	'four_msg'			=> '维修单维修中',
	'five_msg'			=> '维修单维修外送',
	'six_msg'			=> '维修单待取机',
	'seven_msg'			=> '维修单退款并取机',
	'eight_msg'			=> '维修单付款并取机',
	'nine_msg'			=> '维修单维修失败',
	'ten_msg'			=> '维修单维修取消',

	/*维修状态判断集合*/
	'state_arr'			=> [1,2,3,4,5,6,7,8,9,10,'edit','main_edit','renew'],
	/*维修单其它操作*/
	'edit_msg'			=> '营业员编辑维修信息',
	'main_edit_msg'		=> '维修员编辑维修信息',
	'renew_msg'			=> '维修单恢复',

	/*维修单错误提示*/
	'error_ty'			=> '维修单状态参数错误',
	'error_num'			=> '维修库存不足',

	/**
	* 打印管理
	**/
	'printing'			=> [
		/*打印类型*/
		'state'			=> [1=>'销售小票打印',2=>'维修开单小票打印',3=>'维修单打印',4=>'维修失败小票打印',5=>'维修取消小票打印',6=>'维修取机小票打印'],
		/*销售小票*/
		'content_1'	=> [
			/*内容分类*/
			'type'		=> ['order'=>'订单信息','user'=>'客户信息','goods'=>'产品信息','activity'=>'优惠信息','remark'=>'订单备注','money'=>'订单总价'],
			/*必选项*/
			'must'		=> [],
			'field'		=> [
				/*订单信息*/
				'order'		=> [
					['addtime'=>'订单日期','order_sn'=>'订单编号','shop_name'=>'门店','admin_id'=>'工作人员']
				],
				/*客户信息*/
				'user' 		=> [
					['username'=>'客户姓名','nkname'=>'客户称呼','phone'=>'联系方式','spare_phone'=>'备用联系方式','user_sn'=>'客户编号']
				],
				/*产品信息*/
				'goods' 	=> [
					['goods_sn'=>'产品编号','goods_name'=>'产品名称','category_id'=>'产品分类','cat_id'=>'产品子分类','brand_name'=>'品牌','marker'=>'型号','memory_name'=>'内存','attribute_name'=>'属性','colour_name'=>'颜色'],
					['imei'=>'IMEI','sn'=>'S/N','number'=>'数量','unit'=>'单位','price'=>'单品实际价格'],
				],
				/*优惠信息*/
				'activity'	=> [
					['activity'=>'优惠信息']
				],
				/*订单备注*/
				'remark'	=> [
					['remark'=>'订单备注']
				],
				/*订单总价*/
				'money'		=> [
					['order_money'=>'订单总价','stay_money'=>'未付款金额']
				],
			],
		],
		/*维修开单小票*/
		'content_2'	=> [
			/*内容分类*/
			'type'		=> ['order'=>'订单信息','user'=>'客户信息','goods'=>'产品信息','fault'=>'维修故障','remark'=>'其他备注','money'=>'维修金信息'],
			/*必选项*/
			'must'		=> ['r_goods_sn','r_goods_name','r_category_id','r_cat_id','r_brand_name','r_marker','r_attribute_name','r_colour_name','r_number','r_unit','r_price'],
			'field'		=> [
				/*订单信息*/
				'order'		=> [
					['addtime'=>'订单日期','repair_sn'=>'订单编号','shop_name'=>'维修门店','admin_id'=>'工作人员']
				],
				/*客户信息*/
				'user' 		=> [
					['username'=>'客户姓名','nkname'=>'客户称呼','phone'=>'联系方式','spare_phone'=>'备用联系方式','user_sn'=>'客户编号']
				],
				/*产品信息*/
				'goods' 	=> [
					['goods_name'=>'产品名称','category_id'=>'产品分类','brand_name'=>'品牌','marker'=>'型号','imei'=>'IMEI','sn'=>'S/N'],
					['is_prote'=>'保修类型','cus_goods'=>'客户物品','pwd'=>'产品密码'],
				],
				/*维修故障*/
				'fault'	=> [
					['fault'=>'故障','fault_cl'=>'故障处理','total_days'=>'预计时长','gz_remarks'=>'故障备注','solutions'=>'处理办法','fault_img'=>'故障照片','r_money'=>'配件/人工费用','r_goods'=>'维修配件'],
					['r_goods_sn'=>'产品编码','r_goods_name'=>'产品名称','r_category_id'=>'产品分类','r_cat_id'=>'产品子分类','r_brand_name'=>'产品品牌','r_marker'=>'型号','r_attribute_name'=>'属性'],
					['r_colour_name'=>'颜色','r_number'=>'数量','r_unit'=>'单位','r_price'=>'零售单价'],
				],
				/*其他备注*/
				'remark'	=> [
					['remark'=>'其它备注']
				],
				/*维修金信息*/
				'money'		=> [
					['parts_money'=>'配件费用','people_money'=>'人工费用','repair_money'=>'维修总金额','people_money'=>'已支付金额','stay_money'=>'需补交金额']
				],
			],
		],
		/*维修单打印小票*/
		'content_3'	=> [
			/*内容分类*/
			'type'		=> ['order'=>'订单信息','user'=>'客户信息','goods'=>'产品信息','fault'=>'维修故障','remark'=>'其他备注','money'=>'维修金信息'],
			/*必选项*/
			'must'		=> ['r_goods_sn','r_goods_name','r_category_id','r_cat_id','r_brand_name','r_marker','r_attribute_name','r_colour_name','r_number','r_unit','r_price'],
			'field'		=> [
				/*订单信息*/
				'order'		=> [
					['addtime'=>'订单日期','repair_sn'=>'订单编号','shop_name'=>'维修门店','admin_id'=>'工作人员']
				],
				/*客户信息*/
				'user' 		=> [
					['username'=>'客户姓名','nkname'=>'客户称呼','phone'=>'联系方式','spare_phone'=>'备用联系方式','user_sn'=>'客户编号']
				],
				/*产品信息*/
				'goods' 	=> [
					['goods_name'=>'产品名称','category_id'=>'产品分类','brand_name'=>'品牌','marker'=>'型号','imei'=>'IMEI','sn'=>'S/N'],
					['is_prote'=>'保修类型','cus_goods'=>'客户物品','pwd'=>'产品密码'],
				],
				/*维修故障*/
				'fault'	=> [
					['fault'=>'故障','fault_cl'=>'故障处理','total_days'=>'预计时长','gz_remarks'=>'故障备注','solutions'=>'处理办法','fault_img'=>'故障照片','r_money'=>'配件/人工费用','r_goods'=>'维修配件'],
					['r_goods_sn'=>'产品编码','r_goods_name'=>'产品名称','r_category_id'=>'产品分类','r_cat_id'=>'产品子分类','r_brand_name'=>'产品品牌','r_marker'=>'型号','r_attribute_name'=>'属性'],
					['r_colour_name'=>'颜色','r_number'=>'数量','r_unit'=>'单位','r_price'=>'零售单价'],
				],
				/*其他备注*/
				'remark'	=> [
					['remark'=>'其它备注']
				],
				/*维修金信息*/
				'money'		=> [
					['parts_money'=>'配件费用','people_money'=>'人工费用','repair_money'=>'维修总金额','people_money'=>'已支付金额','stay_money'=>'需补交金额']
				],
			],
		],
		/*维修失败小票*/
		'content_4'	=> [
			/*内容分类*/
			'type'		=> ['order'=>'订单信息','user'=>'客户信息','goods'=>'产品信息','fault'=>'维修故障','remark'=>'其他备注','money'=>'维修金信息','shibai'=>'维修失败原因'],
			/*必选项*/
			'must'		=> ['r_goods_sn','r_goods_name','r_category_id','r_cat_id','r_brand_name','r_marker','r_attribute_name','r_colour_name','r_number','r_unit','r_price'],
			'field'		=> [
				/*订单信息*/
				'order'		=> [
					['addtime'=>'订单日期','repair_sn'=>'订单编号','shop_name'=>'维修门店','admin_id'=>'工作人员']
				],
				/*客户信息*/
				'user' 		=> [
					['username'=>'客户姓名','nkname'=>'客户称呼','phone'=>'联系方式','spare_phone'=>'备用联系方式','user_sn'=>'客户编号']
				],
				/*产品信息*/
				'goods' 	=> [
					['goods_name'=>'产品名称','category_id'=>'产品分类','brand_name'=>'品牌','marker'=>'型号','imei'=>'IMEI','sn'=>'S/N'],
					['is_prote'=>'保修类型','cus_goods'=>'客户物品','pwd'=>'产品密码'],
				],
				/*维修故障*/
				'fault'	=> [
					['fault'=>'故障','fault_cl'=>'故障处理','total_days'=>'预计时长','gz_remarks'=>'故障备注','solutions'=>'处理办法','fault_img'=>'故障照片','r_money'=>'配件/人工费用','r_goods'=>'维修配件'],
					['r_goods_sn'=>'产品编码','r_goods_name'=>'产品名称','r_category_id'=>'产品分类','r_cat_id'=>'产品子分类','r_brand_name'=>'产品品牌','r_marker'=>'型号','r_attribute_name'=>'属性'],
					['r_colour_name'=>'颜色','r_number'=>'数量','r_unit'=>'单位','r_price'=>'零售单价'],
				],
				/*其他备注*/
				'remark'	=> [
					['remark'=>'其它备注']
				],
				/*维修金信息*/
				'money'		=> [
					['parts_money'=>'配件费用','people_money'=>'人工费用','repair_money'=>'维修总金额','people_money'=>'已支付金额','stay_money'=>'需补交金额']
				],
				/*维修失败原因*/
				'shibai'	=> [
					['g_sn'=>'维修失败原因'],
				],
			],
		],
		/*维修取消小票*/
		'content_5'	=> [
			/*内容分类*/
			'type'		=> ['order'=>'订单信息','user'=>'客户信息','goods'=>'产品信息','fault'=>'维修故障','remark'=>'其他备注','money'=>'维修金信息','quxiao'=>'维修取消原因'],
			/*必选项*/
			'must'		=> ['r_goods_sn','r_goods_name','r_category_id','r_cat_id','r_brand_name','r_marker','r_attribute_name','r_colour_name','r_number','r_unit','r_price'],
			'field'		=> [
				/*订单信息*/
				'order'		=> [
					['addtime'=>'订单日期','repair_sn'=>'订单编号','shop_name'=>'维修门店','admin_id'=>'工作人员']
				],
				/*客户信息*/
				'user' 		=> [
					['username'=>'客户姓名','nkname'=>'客户称呼','phone'=>'联系方式','spare_phone'=>'备用联系方式','user_sn'=>'客户编号']
				],
				/*产品信息*/
				'goods' 	=> [
					['goods_name'=>'产品名称','category_id'=>'产品分类','brand_name'=>'品牌','marker'=>'型号','imei'=>'IMEI','sn'=>'S/N'],
					['is_prote'=>'保修类型','cus_goods'=>'客户物品','pwd'=>'产品密码'],
				],
				/*维修故障*/
				'fault'	=> [
					['fault'=>'故障','fault_cl'=>'故障处理','total_days'=>'预计时长','gz_remarks'=>'故障备注','solutions'=>'处理办法','fault_img'=>'故障照片','r_money'=>'配件/人工费用','r_goods'=>'维修配件'],
					['r_goods_sn'=>'产品编码','r_goods_name'=>'产品名称','r_category_id'=>'产品分类','r_cat_id'=>'产品子分类','r_brand_name'=>'产品品牌','r_marker'=>'型号','r_attribute_name'=>'属性'],
					['r_colour_name'=>'颜色','r_number'=>'数量','r_unit'=>'单位','r_price'=>'零售单价'],
				],
				/*其他备注*/
				'remark'	=> [
					['remark'=>'其它备注']
				],
				/*维修金信息*/
				'money'		=> [
					['parts_money'=>'配件费用','people_money'=>'人工费用','repair_money'=>'维修总金额','people_money'=>'已支付金额','stay_money'=>'需补交金额']
				],
				/*维修失败原因*/
				'quxiao'	=> [
					['g_sn'=>'维修取消原因'],
				],
			],
		],
		/*维修取机小票*/
		'content_6'	=> [
			/*内容分类*/
			'type'		=> ['order'=>'订单信息','user'=>'客户信息','goods'=>'产品信息','fault'=>'维修故障','remark'=>'其他备注','money'=>'维修金信息'],
			/*必选项*/
			'must'		=> ['r_goods_sn','r_goods_name','r_category_id','r_cat_id','r_brand_name','r_marker','r_attribute_name','r_colour_name','r_number','r_unit','r_price'],
			'field'		=> [
				/*订单信息*/
				'order'		=> [
					['addtime'=>'订单日期','repair_sn'=>'订单编号','shop_name'=>'维修门店','admin_id'=>'工作人员']
				],
				/*客户信息*/
				'user' 		=> [
					['username'=>'客户姓名','nkname'=>'客户称呼','phone'=>'联系方式','spare_phone'=>'备用联系方式','user_sn'=>'客户编号']
				],
				/*产品信息*/
				'goods' 	=> [
					['goods_name'=>'产品名称','category_id'=>'产品分类','brand_name'=>'品牌','marker'=>'型号','imei'=>'IMEI','sn'=>'S/N'],
					['is_prote'=>'保修类型','cus_goods'=>'客户物品','pwd'=>'产品密码'],
				],
				/*维修故障*/
				'fault'	=> [
					['fault'=>'故障','fault_cl'=>'故障处理','total_days'=>'预计时长','gz_remarks'=>'故障备注','solutions'=>'处理办法','fault_img'=>'故障照片','r_money'=>'配件/人工费用','r_goods'=>'维修配件'],
					['r_goods_sn'=>'产品编码','r_goods_name'=>'产品名称','r_category_id'=>'产品分类','r_cat_id'=>'产品子分类','r_brand_name'=>'产品品牌','r_marker'=>'型号','r_attribute_name'=>'属性'],
					['r_colour_name'=>'颜色','r_number'=>'数量','r_unit'=>'单位','r_price'=>'零售单价'],
				],
				/*其他备注*/
				'remark'	=> [
					['remark'=>'其它备注']
				],
				/*维修金信息*/
				'money'		=> [
					['parts_money'=>'配件费用','people_money'=>'人工费用','repair_money'=>'维修总金额','people_money'=>'已支付金额','stay_money'=>'需补交金额','actual_money'=>'实际付款金额']
				],
			],
		],
	],

];